﻿using System.Collections.Generic;
using Sherwood.Web;

namespace Sherwood.Content.SearchServices
{
    public interface ISearchServiceAuthenticator
    {
        /// <summary>
        /// Return true if the request is allowed. Authenticator may use and change the content of the query parameters collection
        /// </summary>
        /// <param name="queryString">Dictionary key is lower case query string key.</param>
        bool Authenticates(QueryParameterCollection queryString);
    }
}